package com.ultrasoft.farmasoft.repository;

import java.util.List;

import com.ultrasoft.farmasoft.domain.Userpharmacy;

public interface UserPharmacyDao {
	public List<Userpharmacy> getUserPharmacyList();
	public List<Userpharmacy> getUserPharmacyList(boolean active);
	public List<Userpharmacy> getUserPharmacyList(Integer userId);
	public List<Userpharmacy> getListUserPharmacy(Integer pharmacyId,boolean active);
	public List<Userpharmacy> getListUserPharmacy(String login, String password);
	public List<Userpharmacy> getUserPharmacyList(Integer userId,boolean active);
	public Userpharmacy findByPharmacyIdByUserId(Integer pharmacyId,Integer userId);			// ok		
    public void update(Userpharmacy userPharmacy);
	public void add(Userpharmacy userPharmacy);
}
